﻿using _8Group.MES.ISongService.MdWorkshop.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;

namespace _8Group.MES.ISongService.MdWorkshop
{
    public interface IMdWorkshopService : IApplicationService
    {
        /// <summary>
        /// 获取车间管理列表
        /// </summary>
        /// <param name="workShopDTO"></param>
        /// <returns></returns>
        Task<object> GetMdWorkshopList(RequestMdWorkShopDTO workShopDTO);

        /// <summary>
        /// 删除车间管理
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<bool> DeleteMdWorkshop(int id);

        /// <summary>
        /// 更新车间管理
        /// </summary>
        /// <param name="mdWorkshopDTO"></param>
        /// <returns></returns>
        Task<bool> UpdataMdWorkshop(UpdMdIWorkshopDTO mdWorkshopDTO);

        /// <summary>
        /// 新增车间管理
        /// </summary>
        /// <param name="mdWorkshopDTO"></param>
        /// <returns></returns>
        Task<bool> AddMdWorkshop(AddMdWorkShopDTO mdWorkshopDTO);
    }
}
